package com.frontend.com;

import com.frontend.trade.Service.Impl.WeChatPayService;
import com.frontend.trade.model.Trading;

public class admin {
    public static void main(String[] args) {
        WeChatPayService weChatPayService = new WeChatPayService();
        Trading trading = new Trading();
        trading.setProductOrderNo(15549211111L);
        trading.setTradingOrderNo(15549211111L);
        trading.setTradingChannel("WECHAT_PAY");
        trading.setMemo("测试商品");
        trading.setEnterpriseId(1561414331L);
        trading.setTradingAmount(new java.math.BigDecimal("0.01"));
        Trading downLineTrading = weChatPayService.createDownLineTrading(trading);
        System.out.println(downLineTrading.getQrCode());
    }
}
